import request from '@/utils/request'

// 查询护理项目与护理计划中间列表
export function listLevel_plan(query) {
  return request({
    url: '/le/level_plan/list',
    method: 'get',
    params: query
  })
}

// 查询护理项目与护理计划中间详细
export function getLevel_plan(id) {
  return request({
    url: '/le/level_plan/' + id,
    method: 'get'
  })
}

// 新增护理项目与护理计划中间
export function addLevel_plan(data) {
  return request({
    url: '/le/level_plan',
    method: 'post',
    data: data
  })
}

// 修改护理项目与护理计划中间
export function updateLevel_plan(data) {
  return request({
    url: '/le/level_plan',
    method: 'put',
    data: data
  })
}

// 删除护理项目与护理计划中间
export function delLevel_plan(id) {
  return request({
    url: '/le/level_plan/' + id,
    method: 'delete'
  })
}
